﻿package fj.utils
{
	public class FJValidate
	{
		public static function email( s:String ):Boolean
		{
			var pattern:RegExp = /(\w|[_.\-])+@((\w|-)+\.)+\w{2,4}+/;
            var result:Object = pattern.exec( s );
            if( result == null ) {
                return false;
            }
            return true;
		}
	}
}